﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RequireDetail.aspx.cs"
    Inherits="ATW.MT.RequireManage.RequireDetail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>需求详情</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <script type="text/javascript" src="../Scripts/jquery-1.10.2.min.js"></script>
    <link rel="Stylesheet" href="../Styles/css.css" />
</head>
<body>
    <form id="form1" runat="server">
    <div style="margin: 15px; text-align: center">
        <table border="0" cellpadding="0" cellspacing="0" class="queryResultTable" style="text-align: right;
            width: 94%">
            <tr>
                <th width="20%" style="text-align: right">
                    需求标题：&nbsp;
                </th>
                <td width="30%">
                    <asp:Label runat="server" ID="lblTitle"></asp:Label>
                </td>
                <th width="20%" style="text-align: right">
                    需求类型：&nbsp;
                </th>
                <td width="30%">
                    <asp:Label runat="server" ID="lblType"></asp:Label>
                </td>
            </tr>
            <tr>
                <th style="text-align: right">
                    需求描述：&nbsp;
                </th>
                <td>
                    <asp:Label runat="server" ID="lblDetail"></asp:Label>
                </td>
                <th style="text-align: right">
                    需求类别：&nbsp;
                </th>
                <td>
                    <asp:Label runat="server" ID="lblCatName"></asp:Label>
                </td>
            </tr>
            <tr>
                <th style="text-align: right">
                    需求详情：&nbsp;
                </th>
                <td colspan="3" style="padding: 0px">
                    <asp:Repeater runat="server" ID="rpList">
                        <HeaderTemplate>
                            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <th>
                                        子项名称
                                    </th>
                                    <th>
                                        子项描述
                                    </th>
                                    <th>
                                        子项数量
                                    </th>
                                    <th>
                                        子项单位
                                    </th>
                                </tr>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%#Eval("diName").ToString() %>
                                </td>
                                <td>
                                    <%# subStr( Eval("diDesc").ToString(),10) %>
                                </td>
                                <td>
                                    <%#Eval("tdiQty").ToString()%>
                                </td>
                                <td>
                                    <%#Eval("diUnit").ToString() %>
                                </td>
                            </tr>
                        </ItemTemplate>
                        <FooterTemplate>
                            </table>
                        </FooterTemplate>
                    </asp:Repeater>
                </td>
            </tr>
            <tr>
                <th style=" text-align:right">
                    交货周期：
                </th>
                <td colspan="3">
                    <asp:Label runat="server" ID="lblDeliver"></asp:Label>
                </td>
            </tr>
            <tr>
                <th style="text-align: right">
                    发布人：&nbsp;
                </th>
                <td colspan="3">
                    <asp:Label runat="server" ID="lblName"></asp:Label>
                </td>
            </tr>
            <tr>
                <th style="text-align: right">
                    发布时间：&nbsp;
                </th>
                <td>
                    <asp:Label runat="server" ID="lblPublishTime"></asp:Label>
                </td>
                <th style="text-align: right">
                    截止时间：&nbsp;
                </th>
                <td>
                    <asp:Label runat="server" ID="lblCloseTime"></asp:Label>
                </td>
            </tr>
            <tr>
                <th style="text-align: right">
                    状态：&nbsp;
                </th>
                <td colspan="3">
                    <asp:Label runat="server" ID="lblStatus"></asp:Label>
                </td>
            </tr>
        </table>
        <input type="button" value="关闭" class="queryButton" onclick="window.close()" />
    </div>
    </form>
</body>
</html>
